﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DemoGame1
{
    public class Normal:IState
    {
        public float getspeed()
        {
            return 20.0f;
        }

        public void Update(Player p)
        {
            if (p.HP < 300)
                p.setState(new Weak());
        }
    }
}
